#ifndef TEXTEDITWIDGET_H
#define TEXTEDITWIDGET_H


#include <QtGui>
#include <TextMonitoring.h>
#include <textManipulation.h>



class TextEditWidget : public QTextEdit
{
    Q_OBJECT

public:
    TextEditWidget(QTextEdit* resultArea);
    void dropEvent(QDropEvent* event);

private:
    QTextEdit* resultArea;
    TextMonitoring* textMonitoring;


public slots:
    void cursorPosCh();
    void textCh();
    void selectionCh();

};



#endif // TEXTEDITWIDGET_H



